﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>支付宝提现-微街秀管理后台</title>
    <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="../js/base.js" type="text/javascript"></script>
    <script src="../js/ajax-data.js" type="text/javascript"></script>
    <script src="../js/Pager.js" type="text/javascript"></script>
    <script src="../js/dialog.js" type="text/javascript"></script>
</head>
<body>
    <div id="html"></div>
 <script>
     $(function () {
         islogin();
         check(1, getUrlArgStr("ids"));
     })

     //提现审核
     function check(type, id) {
         var msg = ""; //拒绝理由
         var param = "type=" + type + "&ids=" + id;
         if (id == null) {
             Alert("参数无效");
             setTimeout(1000, function () { window.close() });
             return;
         }
         $("#html").html("正在跳转到支付宝...")
         $.post("../ajax/fc_cash.ashx?check_ali", param, function (data) {
             if (data.indexOf("\"code\":") > -1) {
                 var json = JSON.parse(data);
                 Alert(json.msg);
                 setTimeout(function () { window.close() }, 1000);
             }
             else
                 $("#html").html(data);
         });
     }
 </script>
</body>
</html>
